package com.yanqu.road.entity.log.chefduel;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_c_chef_duel3_open_log",desc = "厨神对决-开宴",autoSave = true, uploadCk = true, dataUpload = true, eventName = "cook_thrbeg", isCross = true)
public class LogChefDuel3Open extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "阵营", dataAttribute = "belong_id")
    private int campId;
    @FieldTypeAnnotation(desc = "消耗道具", dataAttribute = "item_use")
    private String useItem;
    @FieldTypeAnnotation(desc = "当前开宴次数", dataAttribute = "team_id")
    private int tableId;

    public LogChefDuel3Open(int activityId, long userId, int campId, String useItem, int tableId) {
        this.activityId = activityId;
        this.userId = userId;
        this.campId = campId;
        this.useItem = useItem;
        this.tableId = tableId;
    }

    @Override
    public long getUserId() {
        return userId;
    }
}
